home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / doom / ldhe-src.0 / ldhe-src / dehacked / source / Makefile < prev    next >
Makefile  |  1995-06-02  |  1KB  |  57 lines

  1.  
  2. ###################################################################
  3. #
  4. #   Linux configuration section
  5. #
  6. ###################################################################
  7. C++    = gcc
  8. CFLAGS = -g -O2 -DHAVE_VGA
  9. LIBS   = -lvga -lvgagl -lX11
  10.  
  11. ###################################################################
  12. #
  13. #   SGI configuration section
  14. #
  15. ###################################################################
  16. #C++     = CC
  17. #CFLAGS  = -g3 -O2
  18. #LIBS    = -lX11
  19.  
  20. ###################################################################
  21.     
  22. SHELL = /bin/sh
  23.  
  24. SRCS = graphics.cc keyboard.cc x11_keyboard.cc vga_graphics.cc \
  25.        x11_graphics.cc dehacked.cc files.cc input.cc playview.cc \
  26.        print.cc screen.cc linux.cc ttyobj.cc snd2au.cc linux_text.cc
  27.  
  28. OBJS = graphics.o keyboard.o x11_keyboard.o vga_graphics.o x11_graphics.o \
  29.        dehacked.o files.o input.o playview.o print.o screen.o \
  30.        linux.o ttyobj.o snd2au.o linux_text.o
  31.  
  32.  
  33. .SUFFIXES: .cc
  34.  
  35. .cc.o:
  36.     $(C++) -c $(CFLAGS) $<
  37.  
  38.  
  39. dehacked: $(OBJS)
  40.     $(C++) -o $@ $(OBJS) $(LIBS)
  41.  
  42. depend:
  43.     $(C++) -M $(SRCS) >.depend
  44.  
  45. clean:
  46.     rm -f $(OBJS)
  47.  
  48. spotless: clean
  49.     rm -f dehacked tags .depend *Data *.bak out
  50.     touch .depend
  51.  
  52. dist: dehacked
  53.     strip dehacked
  54.     cp dehacked ..
  55.  
  56. include .depend
  57.